<?php

use Illuminate\Database\Seeder;

class UserTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        factory(\App\User::class,5)->create();
        $user=\App\User::find(1);
        $user['name']='露露';
        $user['mobile']='19851626156';
        $user['password']=bcrypt('11111');
        $user['is_admin']=1;
        $user->save();
    }
}
